<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>响应式导航栏</title>
    <link rel="stylesheet" href="../pc/dist-3.4.1/css/bootstrap.css">
    <script src="../../../jquery-js/jquery.js"></script>
    <script src="../pc/dist-3.4.1/js/bootstrap.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Logo</a>
        </div>
        <div class="collapse navbar-collapse" id="menu">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Mac</a></li>
                <li><a href="#">Windows</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Java
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">VPN</a></li>
                        <li class="divider"></li>
                        <li><a href="#">NET</a></li>
                        <li class="divider"></li>
                        <li><a href="#">Go</a></li>

                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
</body>
</html>